<template>
  <div class="rightView">
    <div class="rightViewLeftWrapper">
      <SetupMenu
        @profile="profile"
        @setup="setup"
        @follow="follow"
        @followme="followMe"
      />
    </div>
    <div class="rightViewCenterWrapper">
      <nuxt />
    </div>
  </div>
</template>

<script lang="ts">
import { Component } from 'nuxt-property-decorator'
import { ISetupMenu } from '@/components/const'
import { BaseVue } from '@/plugins/base-vue'
@Component({
  components: {},
})
export default class SetUp extends BaseVue {
  // 个人资料
  profile(item: ISetupMenu) {
    this.$router.push(`/earth/setup/profile`)
  }

  // 隐私设置
  setup(item: ISetupMenu) {
    this.$router.push(`/earth/setup/privacy`)
  }

  // 我的关注
  follow(item: ISetupMenu) {
    this.$router.push(`/earth/setup/follow`)
  }

  // 关注我的
  followMe(item: ISetupMenu) {
    this.$router.push(`/earth/setup/followme`)
  }
}
</script>

<style>
</style>